package com.JinYuan.aop;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * @author 金园
 * @create 2022/5/6
 * @Description
 * @className MyAfterRetrningAdvice
 * @packageName com.JinYuan.aop
 */
public class MyAfterReturningAdvice implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object o, Method method, Object[] objects, Object o1) throws Throwable {
        System.out.println("后置增强");
    }
}
